fn main() {
    // let num = Number::from(30);
    // println!("my number is {:?}", num);

    let n1 = String::from("ni");
    // let num1: Number = n1.into();
    // println!("{:?}", num1)
}

#[derive(Debug)]
struct Number {
    value: i32,
}

impl From<i32> for Number {
    fn from(value: i32) -> Self {
        Number { value }
    }
}
